import request from '@/utils/request'

export function getList() {
  return request({
    url: `/admin/core/borrowInfo/list`,
    method: 'get'
  })
}

export function show(id) {
  return request({
    url: `/admin/core/borrowInfo/show/${id}`,
    method: 'get'
  })
}

export function approval(borrowInfoApproval) {
  return request({
    url: `/admin/core/borrowInfo/approval`,
    method: 'post',
    data: borrowInfoApproval
  })
}
